package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsuserpoint {
    // id，作为主键
    @Id
    private long id;

    // 用户 id，可为空
    private Long userId;

    // 总店 Id，可为空
    private Integer corpId;

    // 门店 Id，可为空
    private Integer storeId;

    // 类型，可为空
    private Integer type;

    // 积分数量，可为空
    private Integer num;

    // 积分剩余，可为空
    private Integer balance;

    // 备注，可为空
    private String remarks;

    // 创建时间，可为空
    private Date createTime;

    @Generated(hash = 1593008313)
    public corecmsuserpoint(long id, Long userId, Integer corpId, Integer storeId,
            Integer type, Integer num, Integer balance, String remarks,
            Date createTime) {
        this.id = id;
        this.userId = userId;
        this.corpId = corpId;
        this.storeId = storeId;
        this.type = type;
        this.num = num;
        this.balance = balance;
        this.remarks = remarks;
        this.createTime = createTime;
    }

    @Generated(hash = 1181331703)
    public corecmsuserpoint() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getUserId() {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCorpId() {
        return this.corpId;
    }

    public void setCorpId(Integer corpId) {
        this.corpId = corpId;
    }

    public Integer getStoreId() {
        return this.storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getNum() {
        return this.num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getBalance() {
        return this.balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getRemarks() {
        return this.remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
